export default {
    menu: {
        data: {
            pageNum: 1,
            pageSize: 10,
            total: 8,
            list: [
                {
                    id: 10,
                    parentId: 1,
                    path: '/system',
                    name: 'system',
                    component: 'Layout',
                    redirect: '/system/user',
                    isHide: false,
                    meta: {
                        title: 'system',
                        icon: 'system',
                        isKeepAlive: true,
                        isTagView: true,
                        isAffix: false
                    },
                    children: [
                        {
                            id: 101,
                            parentId: 10,
                            path: '/system/menu',
                            name: 'systemMenu',
                            component: '/src/views/system/menu/index.vue',
                            redirect: null,
                            isHide: false,
                            meta: {
                                title: 'menu',
                                icon: 'menu',
                                isKeepAlive: true,
                                isTagView: true,
                                isAffix: false
                            }
                        },
                        {
                            id: 102,
                            parentId: 10,
                            path: '/system/user',
                            name: 'systemUser',
                            component: '/src/views/system/user/index.vue',
                            redirect: null,
                            isHide: false,
                            meta: {
                                title: 'user',
                                icon: 'user',
                                isKeepAlive: true,
                                isTagView: true,
                                isAffix: true
                            }
                        }
                    ]
                },
                {
                    id: 20,
                    parentId: 1,
                    path: '/menu',
                    name: 'menu',
                    component: 'Layout',
                    redirect: '/menu/menu-1',
                    isHide: false,
                    meta: {
                        title: 'nestedRoutes',
                        icon: 'menu',
                        isKeepAlive: true,
                        isTagView: true,
                        isAffix: false
                    },
                    children: [
                        {
                            id: 201,
                            parentId: 20,
                            path: '/menu/menu-1',
                            name: 'menu-1',
                            component: 'ParentView',
                            redirect: '/menu/menu-1/menu-1-1',
                            isHide: false,
                            meta: {
                                title: 'menu-1',
                                icon: 'menu-1',
                                isKeepAlive: true,
                                isTagView: true,
                                isAffix: false
                            },
                            children: [
                                {
                                    id: 2010,
                                    parentId: 201,
                                    path: '/menu/menu-1/menu-1-1',
                                    name: 'menu-1-1',
                                    component: '/src/views/menu/menu-1/menu-1-1/index.vue',
                                    redirect: null,
                                    isHide: false,
                                    meta: {
                                        title: 'menu-1-1',
                                        icon: 'menu-1-1',
                                        isKeepAlive: true,
                                        isTagView: true,
                                        isAffix: false
                                    }
                                },
                                {
                                    id: 2011,
                                    parentId: 201,
                                    path: '/menu/menu-1/menu-1-2',
                                    name: 'menu-1-2',
                                    component: '/src/views/menu/menu-1/menu-1-2/index.vue',
                                    redirect: null,
                                    isHide: false,
                                    meta: {
                                        title: 'menu-1-2',
                                        icon: 'menu-1-2',
                                        isKeepAlive: true,
                                        isTagView: true,
                                        isAffix: false
                                    }
                                }
                            ]
                        }
                    ]
                },
                {
                    id: 30,
                    parentId: 1,
                    path: '/redirect',
                    name: 'redirectTo',
                    component: 'Layout',
                    isHide: true,
                    redirect: '/redirect/:path(.*)',
                    meta: {
                        title: 'redirect'
                    },
                    children: [
                        {
                            path: '/redirect/:path(.*)',
                            name: 'redirect',
                            id: 301,
                            parentID: 30,
                            isHide: false,
                            component: '/src/views/redirect/index.vue',
                            meta: {
                                title: 'redirect'
                            }
                        }
                    ]
                }
            ]
        },
        code: 200,
        message: '查询菜单成功',
        success: true
    },
    user: {
        data: {
            pageNum: 1,
            pageSize: 10,
            total: 2,
            list: [
                {
                    id: 1,
                    account: 'admin',
                    password: '123456',
                    name: '管理员',
                    email: 'internalerro@outlook.com',
                    mobile: '19532374985',
                    phone: '123456789',
                    age: 32,
                    avatar: null,
                    sex: 'null',
                    createTime: '2022-10-20T17:27:25.000Z',
                    updateTime: '2022-10-20T17:27:25.000Z',
                    dept: [{
                        id: 1,
                        parentId: 0,
                        name: 'XXX公司',
                        status: 1,
                        description: '根节点',
                        createTime: '2022-10-20T17:27:25.000Z',
                        updateTime: '2022-10-20T17:27:25.000Z'
                    }]
                },
                {
                    id: 4,
                    account: 'admin1',
                    password: '1234567',
                    name: '管理员',
                    email: '75258790@qq.com',
                    mobile: '15890290713',
                    phone: '123456789',
                    age: 32,
                    avatar: null,
                    sex: 'man',
                    createTime: '2022-10-20T17:27:25.000Z',
                    updateTime: '2022-10-20T17:27:25.000Z',
                    dept: [{
                        id: 1,
                        parentId: 0,
                        name: 'XXX公司',
                        status: 1,
                        description: '根节点',
                        createTime: '2022-10-20T17:27:25.000Z',
                        updateTime: '2022-10-20T17:27:25.000Z'
                    }]
                }
            ]
        },
        code: 200,
        message: '获取用户成功',
        success: true
    }
}
